package neu.edu.cn.nuemall.service;

import com.github.pagehelper.PageInfo;
import neu.edu.cn.nuemall.dto.BooksDTO;
import neu.edu.cn.nuemall.dto.BooksSkuDTO;


import java.util.List;

public interface BooksService {
    public List<BooksDTO> listLatestBooks();
    public BooksDTO getBooksById(String id);
    public List<BooksDTO> searchBooks(String keyword, String keyword2);

    PageInfo<BooksDTO> listPublishBooks(Integer page, String publishId, String typeId);

    public BooksSkuDTO getBookSkuById(String id);

    public BooksDTO getBooksBaseInfoById(String id);
}
